package com.scott.factory.lesson03.abstractfactory;

/**
 * 默认的系列工厂：可以产生1系列对象   Car AK47 Apple
 * 座着小汽车 拿着AK47 吃着苹果
 * 
 */
public class DefaultSeriesFactory extends AbstractFactory {
	

	@Override
	public Vehicle createVehicle() {
		return new Car();
	}

	@Override
	public Weapon createWeapon() {
		
		return new AK47();
	}

	@Override
	public Food createFood() {
		return new Apple();
	}

}
